﻿<%@ Page Title="Agregar Practica" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="AgregarPractica.aspx.cs" Inherits="vudu.PaginasWeb.G9PracticaMateria.AgregarPractica" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            width: 12px;
        }
        .style14
        {
            width: 14px;
        }
        .style15
        {
            width: 278px;
        }
        .style16
        {
            width: 28px;
        }
        .style17
        {
            width: 30px;
        }
        .style18
        {
            width: 35px;
        }
        .style19
        {
            width: 42px;
        }
        .style20
        {
            width: 304px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
 
    
  </p>
  <asp:panel ID="Panel1" runat="server"  BorderStyle="Solid" BorderWidth="1px">
    <form id="form1"  method="post" action="AgregarSalonP.aspx">
      <table style="width: 100%">
        <tr>
          <td style= "width: 250px">
            <a href="../Home/HomeEscuela.aspx" class="miga">Inicio</a> &gt; <h1 class="migaActual">Agregar Practica</h1>
          </td>
         
          <td align="right" class="style13">

            <asp:Label ID="Label1" runat="server" Text="Label" ></asp:Label>

          </td>
        </tr>
      </table>
      <table>
        <tr>
          <td align="center" width="464px">
            &nbsp;
          </td>
          <td align="center" class="tituloGeneral">
            Gestionar Practica
          </td>
          
          
        </tr>
        <tr>
          <td align="center" width="464px">
            &nbsp;
          </td>
          <td align="center" class="subtituloGeneral">
            Agregar Practica
          </td>
          <td>
          </td>
        </tr>
      </table>
      <fieldset>
        <legend>Agregar Practica</legend>
        <table>
          <tr>
            <td width="5" >
              &nbsp;
            </td>
            <td width="200" >
              <asp:Label ID="nombreTeoria" runat="server" 
                       Height="20"
                       Text="Seccion de Teoria :" Width="225"
                        ></asp:Label>
              
            </td>
            <td style="width: 215px">
              <asp:DropDownList ID="SeccionMateria" runat="server"
               onselectedindexchanged="SeccionMateria_onselectedindexchanged" AutoPostBack="true" >
                <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
              </asp:DropDownList>

            </td>

            
            <td style="width: 215px">
              &nbsp;
            </td>
            <td>

              &nbsp;
            </td>
            
            <td >

             

            </td>
            <td>

              &nbsp;
            </td>
          </tr>
          <tr>
            <td width="5" >
            </td>
            <td width="100" >
              <asp:Label ID="cantidadhora" runat="server"
                       Height="20"
                       Text="Horas de Practica :" Width="225"
                        ></asp:Label>

            </td>
            <td style="width: 215px">
              <asp:Label ID="cantidadhorapractica" runat="server"
                        Height="20"
                        Text="0 Horas" Width="225"
                        ></asp:Label>

            </td>
            
          </tr>
          <tr>
            <td width="5" >
            </td>
            <td width="100">
              <asp:Label ID="seccionPract" runat="server"
                       Height="20"
                       Text="Numero Seccion de Practica :" Width="225"
                        ></asp:Label>
            </td>
            <td style="width: 215px">
              <asp:TextBox ID="SeccionPractica"  runat="server" Width="211px" declare="int" ValidChars="1234567890"></asp:TextBox>
            </td>
           
            <td width="200" >
              <asp:Label ID="mensajeSeccionPractica" runat="server"
                    Text="Seccion ya Existe " color="red" visible="false" Height="20"
                       Width="225"
                        ></asp:Label>
              <asp:Label ID="mensajeSeccionPracticaNum" runat="server"
                    Text="Dato Invalido" color="red" visible="false" Height="20"
                       Width="225"
                        ></asp:Label>

            </td>
            <td >
              &nbsp;
            </td>
          </tr>
          <tr>
            <td width="5" >
            </td>
            <td width="100">
              <asp:Label ID="nombrePract" runat="server"
                      Height="20"
                      Text="Nombre de Practica :" Width="225"
                        ></asp:Label>
            </td>
            <td style="width: 215px">
              <asp:TextBox ID="NombrePractica" runat="server" Width="211px"></asp:TextBox>
            </td>
            
            
            <td width="200" >
              <asp:Label ID="mensajeNombrePractica" runat="server"
                     Text="Nombre ya Existe" color="red" visible="false" Height="20"
                       Width="225"
                        ></asp:Label>
            </td>
            <td >
              &nbsp;
            </td>
          </tr>
          <tr>
            
            <td style="width: 215px">&nbsp;</td>
            <td class="style13">
              <asp:Label ID="profesorPract" runat="server"
                       Height="20"
                       Text="Profesor :" Width="225"
                        ></asp:Label>
            </td>
            <td style="width: 215px">
              <asp:DropDownList ID="Profesor" runat="server" 
                >
                <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
              </asp:DropDownList>
             
            </td>
            <td width="200" >
              <asp:Label ID="mensajeProfesor" runat="server"
                    Text="Debe elegir un Profesor " color="red" visible="false" Height="20"
                       Width="225"
                        ></asp:Label>
             

            </td>
            <td style="width: 215px">
              &nbsp;
            
          </tr>
          <tr>
           
              <td>
                  &nbsp;
              </td>
              <TABLE align="center" border="1">
                  <tr align="center">
                      <td>
                          Dia
                      </td>
                      <td>
                          Lunes
                      </td>
                      <td>
                          Martes
                      </td>
                      <td>
                          Miercoles
                      </td>
                      <td>
                          Jueves
                      </td>
                      <td>
                          Viernes
                      </td>
                  </tr>
                  <tr align="center">
                      <td>
                          Hora Inicio
                      </td>
                      <td>
                          <asp:DropDownList ID="horaInicioL" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="HoraInicioL_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaInicioM" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="HoraInicioM_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaInicioMI" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="HoraInicioMI_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaInicioJ" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="HoraInicioJ_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaInicioV" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="HoraInicioV_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                  </tr>
                  <tr align="center">
                      <td>
                          Hora Fin
                      </td>
                      <td>
                          <asp:DropDownList ID="horaFinL" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="horaFinL_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaFinM" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="horaFinM_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaFinMI" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="horaFinMI_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaFinJ" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="horaFinJ_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td>
                          <asp:DropDownList ID="horaFinV" runat="server" AutoPostBack="true" 
                              onselectedindexchanged="horaFinV_onselectedindexchanged">
                              <asp:ListItem Value="00">- Selecciona -</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                  </tr>
                  <tr align="center">
                      <td>
                      </td>
                      <td>
                          <asp:Label ID="mensajelunes" runat="server" Height="20" 
                              Text="No hay Salones Disponibles" visible="false" Width="225"></asp:Label>
                      </td>
                      <td>
                          <asp:Label ID="mensajemartes" runat="server" Height="20" 
                              Text="No hay Salones Disponibles" visible="false" Width="225"></asp:Label>
                      </td>
                      <td>
                          <asp:Label ID="mensajemiercoles" runat="server" Height="20" 
                              Text="No hay Salones Disponibles" visible="false" Width="225"></asp:Label>
                      </td>
                      <td>
                          <asp:Label ID="mensajejueves" runat="server" Height="20" 
                              Text="No hay Salones Disponibles" visible="false" Width="225"></asp:Label>
                      </td>
                      <td>
                          <asp:Label ID="mensajeviernes" runat="server" Height="20" 
                              Text="No hay Salones Disponibles" visible="false" Width="225"></asp:Label>
                      </td>
                  </tr>
              </TABLE>
      </fieldset>     
              <table>
                  <tr>
                      <td class="style16">
                          &nbsp;
                      </td>
                      <td class="style20">
                      </td>
                      <td class="style18">
                          &nbsp;</td>
                      <td class="style15" colspan="2">
                          &nbsp;</td>
                      <td class="style17">
                      </td>
                  </tr>
                  <tr>
                      <td class="style16">
                          &nbsp;
                      </td>
                      <td class="style20">
                      </td>
                      <td align="center" class="style18">
                          <asp:Button ID="Button1" runat="server" CssClass="boton" 
                              onclick="Button1_Click" style="text-align: Left" Text="Cancelar" />
                      </td>
                      <td align="center" class="style15" colspan="2">
                          <asp:Button ID="Button2" runat="server" CssClass="boton" 
                              onclick="Button2_Click" style="text-align: Right" Text="Siguiente" />
                      </td>
                      <td class="style17">
                      </td>
                  </tr>
              </table>
           
          </tr>

               </asp:panel>     



          
          
           
            
            
         
            
            
        </table>

    </form>
      </asp:panel>
  
  










  
</asp:Content>
